package cn.yoyo.mapper;

import cn.yoyo.entity.*;

import java.util.List;
import java.util.Map;

public interface OrderMapper {
    public int add(Map<String, Object> map);

    public List<OrderLine> findOrderLines(Map<String, Object> map);

    public List<Order> findOrdLineByPage(Map<String, Object> map);

    public List<ItemBook> findInfoByOrdid(Integer ordid);

    public int addAddress(Map<String, Object> map);

    public int addPay(Map<String, Object> map);

    public OrderInfo findItemInfoByOrdid(Integer orderid);

    public int send(Map<String, Object> map);

    public List<OrderLine> findOrderByInfo(Map<String, Object> map);

    public int getTotal(Map<String, Object> map);
}
